package Data::Conveyor::Service::Result::Scalar;

# $Id: Result.pm 12894 2007-03-15 13:04:42Z gr $

use strict;
use warnings;
use YAML;


our $VERSION = '0.02';


use base 'Data::Conveyor::Service::Result';


use constant DEFAULTS => (
    result => '',
);


sub result_as_string {
    my $self = shift;
    if (ref $self->result) {
        Dump scalar $self->result
    } else {
        scalar $self->result;
    }
}


1;


__END__

{% USE p = PodGenerated %}

=head1 NAME

{% p.package %} - stage-based conveyor-belt-like ticket handling system

=head1 SYNOPSIS

    {% p.package %}->new;

=head1 DESCRIPTION

None yet. This is an early release; fully functional, but undocumented. The
next release will have more documentation.

=head1 METHODS

=over 4

{% p.write_methods %}

=back

{% p.write_inheritance %}

{% PROCESS standard_pod %}

=cut

